How to get only date from datetime format in SQL

join shbcf.ru